package cn.com.yusys.yusp.admin.repository.mapper;

import java.util.List;
import java.util.Map;

import cn.com.yusys.yusp.commons.mapper.QueryModel;

/**
 * 迁移yusp-app-message-core工程中的orgMapper类
 * 
 * @author tangxb
 * @since 2.1.1
 */
public interface AdminUserMapper {
    
	public List<Map<String,Object>> selectAllUser(QueryModel queryModel);
	public List<Map<String,Object>> selectAllOrg(QueryModel queryModel);
	public List<Map<String,Object>> selectAllRole(QueryModel queryModel);
	public List<Map<String,Object>> selectAllDuty(QueryModel queryModel);
	
	public List<Map<String,Object>> selectUserInfo(String loginCode);
	
	public List<String> selectOrgUser(String orgId);
	public List<String> selectRoleUser(String roleCode);
	public List<String> selectDutyUser(String dutyCde);
	
	public List<String> selectUserOrg(String userId);
	public List<String> selectOrgsUsers(List<String> orgIds);
	public List<String> selectUpOrg(String orgId);
	public List<String> selectUpOrgOrgs(String orgId);
	
	
}